package checklist.entity;

import java.util.Date;

import checklist.vo.CheckVO;

public class Check implements CheckVO {
	private long id = 0;
	private String title;
	private String description;
	
	public Check(String title, String description) {
		this.title = title;
		this.description = description;	
    }
	
	public String getTitle() {
		return title;
	}
	
	public String getDescription() {
		return description;
	}
	
	public String getId() {
		if (id == 0) {
			id = new Date().getTime();
		}
		return Long.toString(id);
	}
}
